<?php defined('SYSPATH') or die('No direct script access.');

class convert {
 
    /**
     * Converts a number to an integer (no decimal part).
     */
    public static function toInteger($number) {
        return intval($number);
    }
}